package com.shop.user.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shop.user.model.SysUser;
import com.shop.user.vo.user.UserPageReq;
import com.shop.user.vo.user.UserPageResVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {
    /**
     * 分页查询
     * @param page
     * @param reqVo
     * @return
     */
    Page<UserPageResVo> findPage(IPage<?> page,@Param("reqVo") UserPageReq reqVo);
}
